package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 请假类型对象 leave_type
 * 
 * @author ruoyi
 * @date 2022-09-24
 */
public class LeaveType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 请假种类id */
    private String leaveId;

    /** 假期名称 */
    @Excel(name = "假期名称")
    private String leaveName;

    /** 假期分类(请假，休假，探亲) */
    @Excel(name = "假期分类(请假，休假，探亲)")
    private String leaveLevel;

    public void setLeaveId(String leaveId) 
    {
        this.leaveId = leaveId;
    }

    public String getLeaveId() 
    {
        return leaveId;
    }
    public void setLeaveName(String leaveName) 
    {
        this.leaveName = leaveName;
    }

    public String getLeaveName() 
    {
        return leaveName;
    }
    public void setLeaveLevel(String leaveLevel) 
    {
        this.leaveLevel = leaveLevel;
    }

    public String getLeaveLevel() 
    {
        return leaveLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("leaveId", getLeaveId())
            .append("leaveName", getLeaveName())
            .append("leaveLevel", getLeaveLevel())
            .append("remark", getRemark())
            .toString();
    }
}
